package com.example.back.service;

import com.example.back.model.Boardgame;

import java.util.List;

public interface BoardgameService {
    //查询所有桌游
    List<Boardgame> findAllBoardgame();
    List<Boardgame> selectBCount(int bCount);
    List<Boardgame> selectBName(String name);
    Boolean insertBoardgame(String name, String introduction, int lowerLimit, int upperLimit, int rank, int position);
    Boolean updateRankByID(int id, int rank);
    Boolean updatePositionByID(int id, int position);
    Boolean deleteBoardgame(int id);
    String findPhotoByID(int id);
}
